package com.funnyx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "mysql.writer")
@Component
@Data
public class DatasourceProp {

  private String url;
  private String username;
  private String password;
}
